home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEM
/
N-R
/
Photone Prepress 2.04.cpt
/
Photone Prepress™v.2.04D.rsrc
/
PSTx_6_TransTest
< prev
next >
Wrap
Text File
|
1993-03-18
|
3KB
|
198 lines
%© 1990 by CEP, Inc. All Rights Reserved.
%Prints transfer curve test as separations
/ppSetFrequency
{
/htFrequency exch def
} def
/ppSetAngle
{
/htAngle exch def
} def
/ppSetSpotFunction
{
/htSpotFunc exch def
} def
/ppSetPrinterCurve
{ /printerCurve exch def
} def
/transFunc
{
255 mul cvi
printerCurve exch get
255 div
} bind def
/doRegisterMark
{
/ppVVal exch def
/ppHVal exch def
gsave
ppHVal ppVVal translate
0 setgray
0 0 moveto
.24 setlinewidth 0 0 6 0 360 arc stroke
-10 0 moveto
20 0 rlineto
0 -10 moveto
0 20 rlineto
stroke
grestore
} def
/doSquare
{
/ppGrVal exch def
-1 add /ppWid exch def
gsave
ppGrVal setgray
newpath
0 0 moveto
0 ppWid lineto
ppWid ppWid lineto
ppWid 0 lineto
closepath
fill
grestore
} bind def
/labelSquare
{
/ppGrVal exch def
/ppWid exch def
gsave
5 ppWid 2 add moveto
0 setgray
ppGrVal ( ) cvs show
grestore
} bind def
/doHilitePatches
{
/ppVVal exch def
/ppHVal exch def
/ppSVal 24 def
/ppSPVal -40 def
/ppGVal .99 def
/ppPcnt 1 def
gsave
htFrequency htAngle {htSpotFunc} setscreen
/Courier-Bold findfont
9 scalefont setfont
ppHVal ppVVal translate
0 1 9
{ pop
ppSVal ppGVal doSquare
ppSVal ppPcnt labelSquare
ppSVal 0 translate
/ppGVal ppGVal .01 sub def
/ppPcnt ppPcnt 1 add def
} for
grestore
gsave
ppHVal ppVVal translate
0 ppSVal neg -6 translate
0 setgray
.24 setlinewidth
newpath
ppSVal 0 moveto
ppSVal 10 mul 0 rlineto
closepath
stroke
grestore
} bind def
/doDotPatches
{
/ppVVal exch def
/ppHVal exch def
ppHVal ppVVal doHilitePatches
/ppSVal 24 def
/ppSPVal -40 def
/ppGVal .98 def
/ppPcnt 2 def
gsave
{transFunc} settransfer
htFrequency htAngle {htSpotFunc} setscreen
/Courier-Bold findfont
9 scalefont setfont
ppHVal ppVVal ppSPVal -10 add add translate
0 1 4
{ pop
gsave
0 1 9
{ pop
ppSVal ppGVal doSquare
ppSVal ppPcnt labelSquare
ppSVal 0 translate
/ppGVal ppGVal .02 sub def
/ppPcnt ppPcnt 2 add def
} for
grestore
0 ppSPVal translate
} for
grestore
} bind def
/doLabel
{ /label exch def
gsave
/Courier-Bold findfont
12 scalefont setfont
72 72 moveto
label show
grestore
} bind def
/doRegistration
{
150 710 doRegisterMark
150 80 doRegisterMark
470 710 doRegisterMark
470 80 doRegisterMark
} def
/ppDoCyan
{
50 630 doDotPatches
doRegistration
(Cyan) doLabel
} def
/ppDoMagenta
{
325 630 doDotPatches
doRegistration
(Magenta) doLabel
} def
/ppDoYellow
{
50 330 doDotPatches
doRegistration
(Yellow) doLabel
grestore
} def
/ppDoBlack
{
325 330 doDotPatches
doRegistration
(Black) doLabel
} def